home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / programm.ing / wx_lib10.zoo / wx_move.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-08-01  |  288 b   |  17 lines

  1. #include <wx_lib.h>
  2.  
  3. void    wx_move(ws,x,y)
  4. Window    *ws;
  5. int        x,
  6.         y;
  7. {
  8.     ws->curr.g_x = x;
  9.     ws->curr.g_y = y;
  10.     wind_set(ws->hand,WF_CURRXYWH,ws->curr.g_x,ws->curr.g_y,
  11.             ws->curr.g_w,ws->curr.g_h);
  12.     wx_get(ws);
  13.     ws->xpos = ws->minx;
  14.     ws->ypos = ws->miny;
  15.     wx_setclip(ws);
  16. }
  17.